// ---------------------------------------------------------------------
//
// -- app信息
// -- author £
//
// ---------------------------------------------------------------------

let AppInfo = {
    // isTest: true,
    wx: false,
    isIOS: false,
    version: '4.0.25',
    adBanned: true,

    checkPlatform: function () {
        this.wx = cc.sys.platform === cc.sys.WECHAT_GAME;
        this.isIOS = cc.sys.os === cc.sys.OS_IOS;
        console.log('check in platform:' + this.wx);
        console.log('is ios:' + this.isIOS);
    },
};

module.exports = AppInfo;

AppInfo.checkPlatform();